errordocument without htaccess
am 15.02.2010 15:45:21 von Wing Tang--0016e6dab0cda9d89d047fa4aa3a
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I want to redirect a http status code 404 to a custom page. I have
configured within an virtual host the following:
ErrorDocument 404 /custom_404.html
In the access.log I can see the 404 but the custom error page actually never
shows up.
I havent used the .htaccess file.
Anyone any ideas where I might have gone wrong?
Thanks in advance.
Wing
--0016e6dab0cda9d89d047fa4aa3a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,
stom page. I have configured within an virtual host the following:
never shows up.
div>
--0016e6dab0cda9d89d047fa4aa3a--
Re: errordocument without htaccess
am 15.02.2010 15:48:42 von Nilesh GovindrajanOn 02/15/2010 08:15 PM, Wing Tang wrote:
> Hello,
>
> I want to redirect a http status code 404 to a custom page. I have
> configured within an virtual host the following:
>
> ErrorDocument 404 /custom_404.html
>
> In the access.log I can see the 404 but the custom error page actually
> never shows up.
>
> I havent used the .htaccess file.
>
> Anyone any ideas where I might have gone wrong?
>
> Thanks in advance.
>
> Wing
Does the custom error file exist ? If yes, then try this to see a custom
message -
ErrorDocument 404 "This is test 404 error"
--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: errordocument without htaccess
am 15.02.2010 15:53:07 von Wing Tang--0016e6d464cf6e0bda047fa4c609 On 02/15/2010 08:23 PM, Wing Tang wrote: --0016e6da7db8b62b6f047fa8c94f
Content-Type: text/plain; charset=ISO-8859-1
Hi Nilesh
Yes it does exist. I just replaced the text string but still no result. Do I
need to an .htaccess to get it to work.
Met vriendelijke groet,
Wing Tang
mob: +31624870322
On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan
> ErrorDocument 404 "This is test 404 error"
--0016e6d464cf6e0bda047fa4c609
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
o result. Do I need to an .htaccess to get it to work.
ar=3D"all">Met vriendelijke groet,
Wing Tang
mob: +31624870322
>
Govindarajan <list=
s@itech7.com> wrote:
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
ErrorDocument 404 "This is test 404 error"
=
--0016e6d464cf6e0bda047fa4c609--
Re: errordocument without htaccess
am 15.02.2010 17:50:44 von Nilesh Govindrajan
> Hi Nilesh
>
> Yes it does exist. I just replaced the text string but still no result.
> Do I need to an .htaccess to get it to work.
>
>
> Met vriendelijke groet,
>
> Wing Tang
> mob: +31624870322
>
>
> On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan
>
> ErrorDocument 404 "This is test 404 error"
>
>
Seems like its being overridden somewhere else. Check configuration
sequence.
Are you using mod_negotiation and including its config file (for
multilang errors) somewhere ?
If yes, either put your ErrorDocument directive in .htaccess or
somewhere after the includes. .htaccess will be better as it will be
independent for this specific site.
--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.orgRe: errordocument without htaccess
am 15.02.2010 20:40:22 von Wing Tang
Content-Type: text/plain; charset=ISO-8859-1
I'll check that tomorrow... strange it seems that it should work
with/without .htaccess...
Met vriendelijke groet,
Wing Tang
mob: +31624870322
On Mon, Feb 15, 2010 at 5:50 PM, Nilesh Govindarajan
> On 02/15/2010 08:23 PM, Wing Tang wrote:
>
>> Hi Nilesh
>>
>> Yes it does exist. I just replaced the text string but still no result.
>> Do I need to an .htaccess to get it to work.
>>
>>
>> Met vriendelijke groet,
>>
>> Wing Tang
>> mob: +31624870322
>>
>>
>> On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan
>>
>> ErrorDocument 404 "This is test 404 error"
>>
>>
>>
> Seems like its being overridden somewhere else. Check configuration
> sequence.
>
> Are you using mod_negotiation and including its config file (for multilang
> errors) somewhere ?
>
> If yes, either put your ErrorDocument directive in .htaccess or somewhere
> after the includes. .htaccess will be better as it will be independent for
> this specific site.
>
>
> --
> Nilesh Govindarajan
> Site & Server Adminstrator
> www.itech7.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--0016e6da7db8b62b6f047fa8c94f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I'll check that tomorrow... strange it seems that it should work with/w=
ithout .htaccess...
Met vriendelijke groet,<=
br>
Wing Tang
mob: +31624870322
Govindarajan <list=
s@itech7.com> wrote:
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Nilesh
Yes it does exist. I just replaced the text string but still no result.
Do I need to an .htaccess to get it to work.
Met vriendelijke groet,
Wing Tang
mob: +31624870322
On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan <
lists@itech7.com" target=3D"_blank">lists@itech7.com
<mailto:lists@itec=
h7.com>> wrote:
=A0 =A0ErrorDocument 404 "This is test 404 error"
Seems like its being overridden somewhere else. Check configuration sequenc=
e.
Are you using mod_negotiation and including its config file (for multilang =
errors) somewhere ?
If yes, either put your ErrorDocument directive in .htaccess or somewhere a=
fter the includes. .htaccess will be better as it will be independent for t=
his specific site.
--
Nilesh Govindarajan
Site & Server Adminstrator
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
=A0" =A0 from the digest:
httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
--0016e6da7db8b62b6f047fa8c94f--